<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>我的博客</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
        line-height: 1.6;
        color: #333;
        background-color: #f5f5f5;
      }

      header {
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        margin-bottom: 2rem;
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
      }

      .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
      }

      nav a {
        color: #666;
        text-decoration: none;
        margin-left: 1.5rem;
      }

      .main-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
          "posts sidebar"
          "comments sidebar";
        gap: 2rem;
      }

      .posts {
        grid-area: posts;
        background-color: #fff;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .sidebar {
        grid-area: sidebar;
        background-color: #fff;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .comments-card {
        grid-area: comments;
        background-color: #fff;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .comment-input {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 1rem;
        resize: vertical;
        min-height: 100px;
      }

      .comment-submit {
        background-color: #4a90e2;
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 4px;
        margin-top: 1rem;
        cursor: pointer;
        width: 100%;
      }

      .comment-submit:hover {
        background-color: #357abd;
      }

      .no-posts {
        text-align: center;
        color: #666;
        padding: 3rem 0;
      }

      .about-me {
        margin-bottom: 2rem;
      }

      .categories ul {
        list-style: none;
      }

      .categories li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
      }

      footer {
        text-align: center;
        padding: 2rem 0;
        margin-top: 3rem;
        color: #666;
        background-color: #fff;
      }
    </style>
  </head>
  <body>
    <header>
      <div class="container">
        <div class="header-content">
          <div class="logo">我的博客</div>
          <nav>
            <a href="#">首页</a>
            <a href="#">文章</a>
            <a href="#">分类</a>
            <a href="#">关于</a>
          </nav>
        </div>
      </div>
    </header>

    <main class="container">
      <div class="main-content">
        <section class="posts">
          <h2>最新文章</h2>
          <div class="no-posts">暂无文章</div>
        </section>
        <div>
          <aside class="sidebar">
            <div class="about-me">
              <h3>关于我</h3>
              <p>这是一个个人博客，用于分享技术文章和生活感悟。</p>
            </div>

            <div class="categories">
              <h3>文章分类</h3>
              <ul>
                <li>技术分享</li>
                <li>学习笔记</li>
                <li>生活随笔</li>
                <li>项目经验</li>
              </ul>
            </div>
          </aside>
          <aside class="comments-card" style="margin-top: 30px">
            <h3>发表评论</h3>
            <textarea
              class="comment-input"
              placeholder="说点什么吧..."
              disabled
            ></textarea>
            <button class="comment-submit" disabled>发表评论</button>
          </aside>
        </div>
      </div>
    </main>

    <footer>
      <div class="container">
        <p>
          &copy; 2024 我的博客. All rights reserved.
          <br />
          <div
            style="color: #666; text-decoration: none"
            >粤ICP备2024355361号</
          >
   <a href="https://beian.miit.gov.cn">https://beian.miit.gov.cn</a>
        </p>
      </div>
    </footer>
  </body>
</html>
